package com.spzx.product.vo;

import com.alibaba.fastjson2.JSONArray;
import com.spzx.product.api.domain.SkuPriceVo;
import com.spzx.product.domain.ProductSku;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

@Data
@Schema(description = "商品详情")
public class ItemVo {

    @Schema(description = "商品sku信息")
    private ProductSku productSku;
    
    @Schema(description = "最新价格信息")
    private SkuPriceVo skuPrice;

    @Schema(description = "商品库存信息")
    private SkuStockVo skuStock;

    @Schema(description = "商品轮播图列表")
    private String[] sliderUrlList;

    @Schema(description = "商品规格信息")
    private JSONArray specValueList;
    
    @Schema(description = "商品详情图片列表")
    private String[] detailsImageUrlList;
    
    @Schema(description = "商品规格对应商品skuId信息")
    private Map<String, Long> skuSpecValueMap;
}